package com.muyu.product.domain.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @ClassName ProductSkuAttr
 * @Description 描述
 * @Author ShiYu.Cui
 * @Date 2024/3/27 20:31
 */
@Data
@ApiModel(description = "属性图片")
public class AttrImageReq {
    @ApiModelProperty(value = "属性值的ID")
    @NotNull(message = "属性值的ID不能为空")
    private Integer attrValueId;

    @ApiModelProperty(value = "图片地址")
    @NotNull(message = "图片地址不能为空")
    private String imageUrl;
}
